package com.tcwlkj.uuService.enums;

/**
 * Created by Administrator on 2017/10/18 0018.
 * 审核状态
 */

public enum CheckStatus {
    Apply(0, "已申请"),

    Signed(1, "已签约"),

    SubmitAuth(2, "审核中"),

    AuditNo(3, "审核失败"),

    Auditsign(7,"待签约"),

    Frozen(13,"已冻结"),

    Cancle(14,"已注销"),

    Customer(99,"在线客服提成");


    private  int key;
    private String value;


    public static CheckStatus get(int key) {
        CheckStatus[] values = CheckStatus.values();
        for (CheckStatus object : values) {
            if (object.key == key) {
                return object;
            }
        }
        return null;
    }


    private CheckStatus(int key, String value) {
        this.key = key;
        this.value = value;
    }

    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
